export function getDeviceConfig() {
    const {
        width, height, buildId, broad, brand, model, product,
        bootloader, hardware, fingerprint, serial, sdkInt, incremental,
        release, baseOS, securityPatch, codename
    } = device;
    const IMEI = device.getIMEI();
    const androidId = device.getAndroidId();
    const macAddress = device.getMacAddress();
    const brightness = device.getBrightness();
    const brightnessMode = device.getBrightnessMode();
    const musicVolume = device.getMusicVolume()
    const notificationVolume = device.getNotificationVolume();
    const alarmVolume = device.getAlarmVolume();
    const musicMaxVolume = device.getMusicMaxVolume()
    const notificationMaxVolume = device.getNotificationMaxVolume();
    const alarmMaxVolume = device.getAlarmMaxVolume()
    const battery = device.getBattery()
    const isCharging = device.isCharging()
    const totalMem = device.getTotalMem()
    const availMem = device.getAvailMem();
    const isScreenOn = device.isScreenOn();
    const checkDeviceHasNavigationBar = device.checkDeviceHasNavigationBar();
    const virtualBarHeigh = device.getVirtualBarHeigh();
    return {
        width, height, buildId, broad, brand, model, product, bootloader, hardware, fingerprint, serial, sdkInt, incremental, release, baseOS,
        securityPatch, codename, IMEI, androidId, macAddress, brightness, brightnessMode,
        musicVolume, notificationVolume, alarmVolume, musicMaxVolume, notificationMaxVolume,
        alarmMaxVolume, battery, isCharging, totalMem, availMem, isScreenOn, checkDeviceHasNavigationBar,
        virtualBarHeigh
    }
}